@import '~antd/es/style/themes/default.less';

.attractWrap {
  position: relative;
  padding: 80px 20px;
  color: white;
  background: rgba(17, 31, 76, 0.75) url('/images/index/header_bg.jpg') no-repeat;
  background-size: cover;

  &::after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(17, 31, 76, 0.75);
    content: '';
  }
}

.attractContent {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;

  .title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 25px;
    font-size: 48px;

    img {
      display: inline-block;
      width: 34px;
      margin: 0 6px;
    }
  }

  .description {
    margin-bottom: 60px;
  }

  .tipItem {
    width: 280px;
    padding: 24px;
    background: rgba(17, 31, 76, 1);
    box-shadow: 0 8px 21px -5px rgba(0, 0, 0, 0.14);

    a {
      display: inline-block;
      margin-bottom: 8px;
      color: white;
      font-size: 18px;

      &:hover {
        color: @primary-color;
      }
    }

    .tipIntro {
      display: flex;
      align-items: center;
      color: rgba(255, 255, 255, 0.5);
      font-size: 14px;
      line-height: 2;

      span:not(:last-child)::after {
        display: inline-block;
        width: 1px;
        height: 18px;
        margin: 0 8px;
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(4px);
        content: '';
      }
    }
  }
}
